/* 
 * Copyright (c) 2013 TianYu Technologies, Inc. All rights reserved.   
 * 
 * This software is the confidential and proprietary information of   
 * TianYu Technologies. You shall not disclose such Confidential Information   
 * and shall use it only in accordance with the terms of the agreements   
 * you entered into with TianYu Technologies.   
 *   
 */
package com.code.pd.simplefactory;


/**
 *
 *
 * @author  李鹏
 * @since   1.0
 * @version 2013-10-24 李鹏
 */
public class Test {
	public static void main(String[] args) {
		Car car1=CarFactory.createCar("benz");
		Car car2=CarFactory.createCar("bus");
		Car car3=CarFactory.createCar("");
		car1.start();
		car2.start();
	}
}
